#ifndef TEST_H
#define TEST_H
#include "Object.h"
#include "Factory.h"

#include <iostream>
using namespace std;


class TestObject : public Object
{
public:
	static TestObject * Create() 
	{ 
		TestObject *myObject = new TestObject(); 
		Factory::AddObject(myObject);
		return myObject;
	}

	void Render() { cout << "RENDERING!!" << endl; }
	void Update() { cout << "UPDATING!!" << endl; }

};

TestObject *t = TestObject::Create();

#endif // TEST_H